<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>滚动</title>
    <style>
        html,body{
            margin: 0;
            padding: 0;
        }
        a{
            text-decoration: none;
        }
        nav{
            display: flex;
            position: fixed;
            bottom:0;
            z-index:99;
            height: 55px;
            width: 100%;
            background: #eeeeee;
            flex-shrink: 0;
            font-size: 14px;
        }
        nav .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
            color: #828282;
        }
        nav .nav-item.selected {
            color: #4078d4;
        }
        .nav-item:nth-child(3) {
            transform: translateY(-20px);
            background: #eee;
            border-radius: 50%;
            height: 75px;
            width: 75px;
            flex-shrink: 0;
            box-shadow: 0 -3px 4px rgba(0,0,0,.1);
        }
        nav .nav-item .img {
            height: 24px;
            overflow: hidden;
        }
        .nav-item:nth-child(3)>.img{
            height: 30px;
            margin-bottom: 7px;
        }
        nav .nav-item img {
            width: 24px;
            height: 24px;
            overflow: hidden;
        }
    </style>
</head>
<body>
<nav>
    <div class="nav-item">
        <div class="img">
            <img src="https://happ.gssanya.cn:89/img/icon/website-home-page.png">
        </div>
        <div class="text">菜单一</div>
    </div>

    <div class="nav-item selected">
        <div class="img">
            <img src="https://happ.gssanya.cn:89/img/icon/website-home-page.png">
        </div>
        <div class="text">菜单二</div>
    </div>

    <a class="nav-item">
        <div class="img">
            <img src="https://happ.gssanya.cn:89/img/icon/website-home-page.png">
        </div>
        <div class="text">管理入口</div>
    </a>

    <div class="nav-item">
        <div class="img">
            <img src="https://happ.gssanya.cn:89/img/icon/website-home-page.png">
        </div>
        <div class="text">菜单三</div>
    </div>

    <div class="nav-item">
        <div class="img">
            <img src="https://happ.gssanya.cn:89/img/icon/website-home-page.png">
        </div>
        <div class="text">菜单四</div>
    </div>
</nav>
</body>
</html>
